-- LanguageM
-- Create by cheny3
-- 语言设置相关

module("LanguageM", package.seeall);

-- 获取语言设置项内容
function getLanguageSettingType()
    -- 校对模式下按钮全开
    if PROOFREADER_MODE == 1 then
        return getAllLang();
    else
        return getPublishLang();
    end
end

-- 需要下载安装包
function getNeedPkg()
    return { ["tw"] = "lang_tw", ["th"] = "lang_th", ["ja"] = "lang_ja",
             ["pt"] = "lang_pt", ["fr"] = "lang_fr", ["es"] = "lang_es",
             ["ru"] = "lang_ru", ["de"] = "lang_de", ["ko"] = "lang_ko", };
end